import request from '@/utils/request'

export function login(data) {//!!!!!!
    return request({
        url: '/web/api/v1/login',
        method: 'post',
        data
    })
}

export function approve(data) {
    return request({
        url: '/web/api/v1/admin/get/approve/info',
        method: 'post',
        data
    })
}

export function recommend() {
    return request({
        url: '/web/api/v1/recommend/video',
        method: 'post'
    })
}

export function operaApprove(data) {
    return request({
        url: '/web/api/v1/admin/opera/approve',
        method: 'post',
        data
    })
}

export function commit(data) {
    return request({
        url: '/web/api/v1/get/commit/info',
        method: 'post',
        data
    })
}

export function stopUserVideoInfo(data) {
    return request({
        url: '/web/api/v1/change/user/stop/info',
        method: 'post',
        data
    })
}

export function changeUserVideoInfo(data) {
    return request({
        url: '/web/api/v1/change/user/video/info',
        method: 'post',
        data
    })
}

export function stopCommit(data) {
    return request({
        url: '/web/api/v1/stop/commit',
        method: 'post',
        data
    })
}